package top.qitun.bizz.user.tuser.entity;

import com.base.entity.BaseEntity;

import top.qitun.bizz.user.role.entity.Role;
import top.qitun.bizz.user.userrole.entity.UserRoleBO;

import java.util.Date;
import java.util.List;


/**
 * 
 * <br>
 * <b>功能：</b>TUserEntity<br>
 */
public class TUserBO extends TUser {
	private static final long serialVersionUID = 1L;
	
	private Date expirationDate;
	
	private String token;
	
	public TUserBO() {
	}
	
	public TUserBO(String username, String password) {
		this.setMobile(username);
		this.setPassword(password);
	}

	public Date getExpirationDate() {
		return expirationDate;
	}

	public void setExpirationDate(Date expirationDate) {
		this.expirationDate = expirationDate;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	private List<UserRoleBO> roleList;

	public List<UserRoleBO> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<UserRoleBO> roleList) {
		this.roleList = roleList;
	}
}

